# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=pangomm
pkgver=2.42.1
pkgrel=0
pkgdesc="C++ bindings for pango"
url="https://www.gtkmm.org/"
arch="all"
license="LGPL-2.1-or-later AND GPL-2.0-or-later"
makedepends="pango-dev glibmm-dev cairomm-dev"
options="!check" # no tests
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/pangomm/${pkgver%.*}/pangomm-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="46ba375e61dd32e268397ecb8e69364b642ea3d9a6c4d9e3e52500e1e1c9fa0c6aa822c6d5046f49a2fe4d9a872c6c2b354134d39c17370abcfc6a1d752223b0  pangomm-2.42.1.tar.xz"
